package com.torn.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;

import com.torn.model.Group;
import com.torn.model.User;

public interface UserMapper {

	public User selectUser(String id);
	
	public Map<String,String> selectUserm(String id);
	
	@Select("select * from auth_user where id = #{id}")
	public User getUser(String id);
	 
	public void addUser(User user);
	
	public List<User> queryUser(User user);
	
	public Map<String,String> queryUserm(User user);
	
	public Group getGroup(int id);

	public List<Group> queryGroup1();
	public List<Group> queryGroup();
}
